<?php defined('SYSPATH') OR die('No direct access allowed.');?>
<!-- BEGIN USER BLOCK -->
	<?=($user->avatar())?>
	<?=html::anchor(Router::uri('auth', array('method'=>'profile', 'id'=>$user->id)), $user->username, array("class"=>"role_".$user->role))?>
<ul class='userinfo'>
	<li><?=Kohana::lang('account.profile.account_created')?>:
		<span><?=cmsformat::timestamp('main.dateonly', $user->created)?></span>
	</li>
	<li><?=Kohana::lang('forum_user.post_count')?>:
		<span><?=$user->userinfo->post_count?></span>
	</li>
	<li>
		<?=Kohana::lang('forum_user.comment_count')?>:
		<span><?=$user->userinfo->comment_count?></span>
	</li>
</ul>
<!-- END USER BLOCK -->



